package com.q.tqb.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Handler;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.q.tqb.R;
import com.q.tqb.base.BaseActivity;
import com.q.tqb.util.StatusBarUtil;

public class SlpashActivity extends BaseActivity {


    @Override
    public int getLayoutId() {
        return R.layout.activity_slpash;
    }

    @Override
    public void init(Bundle savedInstanceState) {

        StatusBarUtil.setTransparentForImageView(this, null);

        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent intent = new Intent(SlpashActivity.this, MainActivity.class);
                startActivity(intent);
                finish();
            }
        }, 1000);
    }


}
